<h1>Listing manufacturers</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Contact phone</th>
    <th>Notes</th>
  </tr>

<% for manufacturer in @manufacturers %>
  <tr>
    <td><%=h manufacturer.name %></td>
    <td><%=h manufacturer.contact_phone %></td>
    <td><%=h manufacturer.notes %></td>
    <td><%= link_to 'Show', :action => "show", :id => manufacturer.id %></td>
    <td><%= link_to 'Edit', :action => "edit", :id => manufacturer.id %></td>
  </tr>
<% end %>
</table>



<%= link_to 'New manufacturer', :action => "new" %>
